package org.dromara.bykt.domain.vo;

import java.util.Date;

import org.dromara.bykt.domain.BYKTXxmjUserExt;
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import org.dromara.common.excel.annotation.ExcelDictFormat;
import org.dromara.common.excel.convert.ExcelDictConvert;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;


/**
 * 小巷密卷用户扩展视图对象 xxmj_user_ext
 *
 * @author Hou
 * @date 2025-06-25
 */
@Data
@ExcelIgnoreUnannotated
@AutoMapper(target = BYKTXxmjUserExt.class)
public class BYKTXxmjUserExtVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @ExcelProperty(value = "主键")
    private Long id;

    /**
     * 用户ID
     */
    @ExcelProperty(value = "用户ID")
    private Long userId;

    /**
     * 用户分类（1专升本 2单招）
     */
    @ExcelProperty(value = "用户分类", converter = ExcelDictConvert.class)
    @ExcelDictFormat(readConverterExp = "1=专升本,2=单招")
    private String userCategory;

    /**
     * 手机是否验证（0否 1是）
     */
    @ExcelProperty(value = "手机是否验证", converter = ExcelDictConvert.class)
    @ExcelDictFormat(readConverterExp = "0=否,1=是")
    private String phoneVerified;

    /**
     * 学习进度（另外的表来统计）
     */
    @ExcelProperty(value = "学习进度", converter = ExcelDictConvert.class)
    @ExcelDictFormat(readConverterExp = "另=外的表来统计")
    private Long studyProgress;

    /**
     * 注册时间
     */
    @ExcelProperty(value = "注册时间")
    private Date registerTime;

    /**
     * 最后学习时间（无用）
     */
    @ExcelProperty(value = "最后学习时间", converter = ExcelDictConvert.class)
    @ExcelDictFormat(readConverterExp = "无=用")
    private Date lastLoginTime;


}
